import * as React from 'react';
import {configure} from 'mobx';
import {userStores} from '@/stores/User'
import {roleStores} from '@/stores/Role'

configure({enforceActions: 'always'})

export const stores = {userStores, roleStores}
export const CounterContext = React.createContext(stores)

export const useStores = () => React.useContext(CounterContext)
